export const updatePwdFormRule = {
  password: [
    { required: true, message: '请输入密码', trigger: 'blur' }
  ],
  newPassword: [
    { required: true, message: '请输入修改的密码', trigger: 'blur' }
  ],
  truePassword: [
    { required: true, message: '请再次确认修改的密码', trigger: 'blur' }
  ]
}

export const updateUserInfoFormRule = {
  userNike: [
    { required: true, message: '请输入用户昵称', trigger: 'blur' }
  ],
  sex: [
    { required: true, message: '请选择性别', trigger: 'blur' }
  ],
  telephone: [
    { required: true, message: '请输入电话号码', trigger: 'blur' }
  ],
  email: [
    { required: true, message: '请输入邮箱地址', trigger: 'blur' }
  ],
  address: [
    { required: true, message: '请输入居住地址', trigger: 'blur' }
  ]
}
